package com.my.control
{
	import mx.core.UIComponent;
	
	import spark.components.TextInput;

	public class AbstractControl implements IControl 
	{
		private var _view:UIComponent;

		public function AbstractControl(value:UIComponent)
		{
			setView(value);
			setProperties();
			addEventListener();
			initData();
		}

		public function setView(value:UIComponent):void
		{
			view=value;
		}

		public function setProperties():void
		{
		}
		
		public function initData() :void{
			
		}

		public function addEventListener():void
		{
		}

		public function set view(value:UIComponent):void
		{
			_view=value;
		}

		public function get view():UIComponent
		{
			return _view;
		}

	}
}